package com.jeremyfeinstein.listener;


import com.jeremyfeinstein.exception.YchsException;

/**
 * Created by sunxunchao on 2019/1/22.
 */
public interface OnSocketListener {

    //错误
    void onError(int code, YchsException e);

    //连接成功
    void onConnectSuccess();

//    void onMessage(String type, String response);
}
